package com.zros.modules.system.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author pangyinqiang
 * @since 2019-04-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_sys_role_data_resource")
@ApiModel(value="RoleDataResource对象", description="")
public class RoleDataResource extends Model<RoleDataResource> {

    private static final long serialVersionUID = 1L;
    
    @TableId(value = "id", type = IdType.ID_WORKER)
    private Long id;
    
    private Long roleId;

    private Long dataResourceId;

    private LocalDateTime createTime;

    private Long creator;

    private LocalDateTime updateTime;

    private Long operator;

    private String delFlag;


    @Override
    protected Serializable pkVal() {
        return null;
    }

}
